package proiect.fis.persistence;

import java.util.List;
import javax.persistence.EntityManagerFactory;
import proiect.fis.commons.beans.Oras;

/**
 *
 * @author Boogie
 */
public class OrasDao extends DaoImpl<Oras,Long> {
    

    public OrasDao(EntityManagerFactory emf) {
        super(Oras.class,emf);        
    }

    @Override
    public List<Oras> loadAll() {
        return em.createNamedQuery("Oras.findAll").getResultList();
    }

   
}
